<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="_common_prefix.jsp" %>
<ul id="bjui-hnav-navbar">
    <c:forEach items="${menuVo.amenuBeanSet1}" var="amenuBeanSet1" varStatus="varStatus">
    <li <c:if test="${varStatus.count == 1}">class="active"</c:if> ><a href="javascript:;" data-toggle="slidebar">
            <i class="${amenuBeanSet1.facion}"></i> ${amenuBeanSet1.menuName}</a>
            <div class="items hide" data-noinit="true">
                <c:forEach items="${menuVo.amenuBeanSet2}" var="amenuBeanSet2">
                    <c:if test="${amenuBeanSet2.parentId == amenuBeanSet1.id}">
                        <ul class="menu-items" data-tit="${amenuBeanSet2.menuName}" data-faicon="${amenuBeanSet2.facion}">
                            <c:forEach items="${menuVo.amenuBeanSet3}" var="amenuBeanSet3">
                                <c:if test="${amenuBeanSet3.parentId == amenuBeanSet2.id}">
                                    <li>
                                        <a href="<c:choose><c:when test="${empty amenuBeanSet3.url}">${root}/index_layout</c:when><c:when test="${fn:startsWith(amenuBeanSet3.url,'http')}">${amenuBeanSet3.url}</c:when><c:otherwise>${root}${amenuBeanSet3.url}</c:otherwise></c:choose> "
                                           data-options="{id:'${amenuBeanSet3.id}', faicon:'${amenuBeanSet3.facion}'}">${amenuBeanSet3.menuName}</a>
                                    </li>
                                </c:if>
                            </c:forEach>
                        </ul>
                    </c:if>
                </c:forEach>
            </div>
        </li>
    </c:forEach>
</ul>